package controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import service.UserService;

import java.util.List;

@Controller
@RequestMapping("IndexController")
public class IndexController {
    //主页
    @Autowired
    UserService us;

    //查询主页信息
//    @ResponseBody
//    @RequestMapping("findIndex")
//    public List findIndex(){
//        //查询10条用户信息
//        return us.findUser();
//    }
}

